const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
module.exports = {
    publicPath: '/',
    configureWebpack: {
        resolve: {
            alias: {
            'vue$': 'vue/dist/vue.esm.js'
            }
        },
        externals:{ // cdn加速
            "vue": "Vue",
            "element-ui": "ELEMENT"
        },
        // plugins: [new BundleAnalyzerPlugin()]
    }
}